package com.fht.entity;

import javax.persistence.*;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @Description  
 * @Author  Hunter
 * @Date 2020-03-14 
 */

@Setter
@Getter
@ToString
@Entity
@Table ( name ="promotion_special_offer" )
public class PromotionSpecialOffer  implements Serializable {

	private static final long serialVersionUID =  6883343388544516880L;

	/**
	 * 主键，促销单号
	 */
   	@Column(name = "id" )
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private String id;

	/**
	 * 促销名称
	 */
   	@Column(name = "name" )
	private String name;

	/**
	 * 开始时间
	 */
   	@Column(name = "start_date" )
	private String startDate;

	/**
	 * 结束时间
	 */
   	@Column(name = "end_date" )
	private String endDate;

	/**
	 * 制单人
	 */
   	@Column(name = "prepared_by" )
	private String preparedBy;

	/**
	 * 制单时间
	 */
   	@Column(name = "prepared_date" )
	private String preparedDate;

	/**
	 * 状态
	 */
   	@Column(name = "status" )
	private Integer status;

	/**
	 * 促销模式
	 */
   	@Column(name = "category_id" )
	private Integer categoryId;

	/**
	 * 店铺ID
	 */
   	@Column(name = "merchants_id" )
	private Integer merchantsId;

	/**
	 * 促销范围
	 */
   	@Column(name = "promontion_scope" )
	private Integer promontionScope;

	/**
	 * 备注
	 */
   	@Column(name = "remark" )
	private String remark;

	/**
	 * 促销周期，周一
	 */
   	@Column(name = "period_mon" )
	private String periodMon;

	/**
	 * 促销周期，周二
	 */
   	@Column(name = "period_tue" )
	private String periodTue;

	/**
	 * 促销周期，周三
	 */
   	@Column(name = "period_wed" )
	private String periodWed;

	/**
	 * 促销周期，周四
	 */
   	@Column(name = "period_thu" )
	private String periodThu;

	/**
	 * 促销周期，周五
	 */
   	@Column(name = "period_fri" )
	private String periodFri;

	/**
	 * 促销周期，周六
	 */
   	@Column(name = "period_sat" )
	private String periodSat;

	/**
	 * 促销日期，周日
	 */
   	@Column(name = "period_sun" )
	private String periodSun;

}
